using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Galaktika.BI.Extensibility.Dom
{
    [XmlRoot(Namespace = Galaktika.BI.Silverlight.Common.Namespace)]
    public class BrickAction : BrickObject
    {
        public BrickAction()
        {
        }

        public BrickAction(string name, string script, bool isSystem)
            : base(name)
        {
            this.Script = script;
            this.IsSystem = isSystem;
        }

        public bool IsSystem { get; set; }

        [XmlIgnore]
        public string Script { get; set; }
    }
}
